{extend name="common/main"}

{block name="head"}

{include file="common/head_search"}

{/block}

{block name="content"}

<link href="__STATIC__/home/css/search.css" rel="stylesheet" type="text/css" />

<!--content-->
<div class="contentmain"> 
    <!--tile-->
    <div class="tszl_title">
      <h3>当前位置：首页<span>></span>高级搜索</h3>
    </div>
    <div class="sub_con">
      <div class="tszl_sub"> <span class="tszl_big">高级搜索</span><span class="tszl_small">ADVANCED SEARCH</span> </div>
      <div class="search_title">
        <ul>
          <li id="one1" onclick="setTab('one',1,9)" class="hover">全部</li>
          <li id="one2" onclick="setTab('one',2,9)">特色诊疗</li>
          <li id="one3" onclick="setTab('one',3,9)">传承人</li>
          <li id="one4" onclick="setTab('one',4,9)">新闻动态</li>
          <li id="one5" onclick="setTab('one',5,9)">临床病案</li>
          <li id="one6" onclick="setTab('one',6,9)">学习课件</li>
          <li id="one7" onclick="setTab('one',7,9)">民族医药单方</li>
          <li id="one8" onclick="setTab('one',8,9)">药品库</li>
          <li id="one9" onclick="setTab('one',9,9)">推广示范点</li>
        </ul>
      </div>

      <!--全部-->
      <form class="all" method="get" action="{:url('home/search/index')}">
      <input type="hidden" name="name" value="all" />
      <div class="search_con" id="con_one_1">
        <ul>
          <li>
            <div class="search_font Fleft">关键词</div>
            <div class="search_put bors Fleft">
                <input type="text" name="kw" class="search_in" placeholder="输入关键词"/>
            </div>
          </li>
        </ul>
        <div class="searchs_btn">
            <input type="button" class="btn" value="搜索" />
        </div>
      </div>
      
      <script>
        $('.all .btn').click(function(){
          var kw = $('.all .search_in').val();
        //   console.log(aid);return false;
          if(!kw){
            alert('输入关键词');
            return false;
          }
          $(".all").submit();
        })
      </script>
      </form>

      <!--特色诊疗-->
      <form class="characteristic" method="get" action="{:url('home/search/index')}">
      <input type="hidden" name="name" value="characteristic" />
      <div class="search_con" id="con_one_2" style="display:none;">
        <ul>
          <li>
            <div class="search_font Fleft">关键词</div>
            <div class="search_put bors Fleft">
              <input type="text" name="kw" class="search_in" placeholder="输入关键词"/>
            </div>
          </li>
          <li>
            <div class="search_font Fleft">按地区</div>
            <div class="search_put bors Fleft">
              <select class="rc_select aid" name="aid">
                <option value="">选择地区</option>
                {volist name="areas" id="vo" empty=""}
                  <option value="{$vo.area_id}">{$vo.area_name}</option>
                {/volist}
              </select>
            </div>
          </li>
          <li>
            <div class="search_font Fleft">按民族</div>
            <div class="search_put bors Fleft">
              <select class="rc_select nid" name="nid">
                <option value="">选择民族</option>
                {volist name="nations" id="vo" empty=""}
                <option value="{$vo.id}">{$vo.title}</option>
                {/volist}
              </select>
            </div>
          </li>
          <li>
            <div class="search_font Fleft">按疾病</div>
            <div class="search_put bors Fleft">
              <!-- <input class="search_in" name="input" type="text" value="输入疾病"/> -->
              <select class="rc_select did" name="did">
                <option value="">选择疾病</option>
                {volist name="diseases" id="vo" empty=""}
                <option value="{$vo.id}">{$vo.title}</option>
                {/volist}
              </select>
            </div>
          </li>
        </ul>
        <div class="searchs_btn">
            <input type="button" class="btn" value="搜索" />
        </div>
      </div>
      
      <script>
        $('.characteristic .btn').click(function(){
          var kw = $('.characteristic .search_in').val();
          var aid = $('.characteristic .aid').val();
          var nid = $('.characteristic .nid').val();
          var did = $('.characteristic .did').val();
        //   console.log(aid);return false;
          if(!kw){
            alert('输入关键词');
            return false;
          }
          $(".characteristic").submit();
        })
      </script>
      </form>

      <!--传承人-->
      <form class="client" method="get" action="{:url('home/search/index')}">
      <input type="hidden" name="name" value="client" />
      <div class="search_con" id="con_one_3" style="display:none;">
        <ul>
          <li>
            <div class="search_font Fleft">关键词</div>
            <div class="search_put bors Fleft">
              <input type="text" name="kw" class="search_in" placeholder="输入关键词"/>
            </div>
          </li>
          <li>
            <div class="search_font Fleft">按地区</div>
            <div class="search_put bors Fleft">
              <select class="rc_select aid" name="aid">
                <option value="">选择地区</option>
                {volist name="areas" id="vo" empty=""}
                  <option value="{$vo.area_id}">{$vo.area_name}</option>
                {/volist}
              </select>
            </div>
          </li>
          <li>
            <div class="search_font Fleft">按民族</div>
            <div class="search_put bors Fleft">
              <select class="rc_select nid" name="nid">
                <option value="">选择民族</option>
                {volist name="nations" id="vo" empty=""}
                <option value="{$vo.id}">{$vo.title}</option>
                {/volist}
              </select>
            </div>
          </li>
          <li>
            <div class="search_font Fleft">按疾病</div>
            <div class="search_put bors Fleft">
              <!-- <input class="search_in" name="input" type="text" value="输入疾病"/> -->
              <select class="rc_select did" name="did">
                <option value="">选择疾病</option>
                {volist name="diseases" id="vo" empty=""}
                <option value="{$vo.id}">{$vo.title}</option>
                {/volist}
              </select>
            </div>
          </li>
        </ul>
        <div class="searchs_btn">
            <input type="button" class="btn" value="搜索" />
        </div>
      </div>
      
      <script>
        $('.client .btn').click(function(){
          var kw = $('.client .search_in').val();
          var aid = $('.client .aid').val();
          var nid = $('.client .nid').val();
          var did = $('.client .did').val();
        //   console.log(aid);return false;
          if(!kw){
            alert('输入关键词');
            return false;
          }
          $(".client").submit();
        })
      </script>
      </form>

      <!--新闻动态-->
      <form class="news" method="get" action="{:url('home/search/index')}">
      <input type="hidden" name="name" value="news" />
      <div class="search_con" id="con_one_4" style="display:none;">
        <ul>
          <li>
            <div class="search_font Fleft">关键词</div>
            <div class="search_put bors Fleft">
                <input type="text" name="kw" class="search_in" placeholder="输入关键词"/>
            </div>
          </li>
        </ul>
        <div class="searchs_btn">
            <input type="button" class="btn" value="搜索" />
        </div>
      </div>
      
      <script>
        $('.news .btn').click(function(){
          var kw = $('.news .search_in').val();
        //   console.log(aid);return false;
          if(!kw){
            alert('输入关键词');
            return false;
          }
          $(".news").submit();
        })
      </script>
      </form>

      <!--临床病案-->
      <form class="clinic" method="get" action="{:url('home/search/index')}">
        <input type="hidden" name="name" value="clinic" />
        <div class="search_con" id="con_one_5" style="display:none;">
          <ul>
            <li>
              <div class="search_font Fleft">关键词</div>
              <div class="search_put bors Fleft">
                <input type="text" name="kw" class="search_in" placeholder="输入关键词"/>
              </div>
            </li>
            <li>
              <div class="search_font Fleft">按地区</div>
              <div class="search_put bors Fleft">
                <select class="rc_select aid" name="aid">
                  <option value="">选择地区</option>
                  {volist name="areas" id="vo" empty=""}
                    <option value="{$vo.area_id}">{$vo.area_name}</option>
                  {/volist}
                </select>
              </div>
            </li>
        </ul>
        <div class="searchs_btn">
            <input type="button" class="btn" value="搜索" />
        </div>
      </div>
      
      <script>
        $('.clinic .btn').click(function(){
          var kw = $('.clinic .search_in').val();
          var aid = $('.clinic .aid').val();
          var nid = $('.clinic .nid').val();
          var did = $('.clinic .did').val();
        //   console.log(aid);return false;
          if(!kw){
            alert('输入关键词');
            return false;
          }
          $(".clinic").submit();
        })
      </script>
      </form>

      <!-- 学习课件-->
      <form class="courseware" method="get" action="{:url('home/search/index')}">
        <input type="hidden" name="name" value="courseware" />
        <div class="search_con" id="con_one_6" style="display:none;">
          <ul>
            <li>
              <div class="search_font Fleft">关键词</div>
              <div class="search_put bors Fleft">
                  <input type="text" name="kw" class="search_in" placeholder="输入关键词"/>
              </div>
            </li>
          </ul>
          <div class="searchs_btn">
              <input type="button" class="btn" value="搜索" />
          </div>
        </div>
        
        <script>
          $('.courseware .btn').click(function(){
            var kw = $('.courseware .search_in').val();
          //   console.log(aid);return false;
            if(!kw){
              alert('输入关键词');
              return false;
            }
            $(".courseware").submit();
          })
        </script>
        </form>

      <!--民族医药单方-->
      <form class="prescription" method="get" action="{:url('home/search/index')}">
        <input type="hidden" name="name" value="prescription" />
        <div class="search_con" id="con_one_7" style="display:none;">
          <ul>
            <li>
              <div class="search_font Fleft">关键词</div>
              <div class="search_put bors Fleft">
                <input type="text" name="kw" class="search_in" placeholder="输入关键词"/>
              </div>
            </li>
            <li>
              <div class="search_font Fleft">按地区</div>
              <div class="search_put bors Fleft">
                <select class="rc_select aid" name="aid">
                  <option value="">选择地区</option>
                  {volist name="areas" id="vo" empty=""}
                    <option value="{$vo.area_id}">{$vo.area_name}</option>
                  {/volist}
                </select>
              </div>
            </li>
            <li>
              <div class="search_font Fleft">按民族</div>
              <div class="search_put bors Fleft">
                <select class="rc_select nid" name="nid">
                  <option value="">选择民族</option>
                  {volist name="nations" id="vo" empty=""}
                  <option value="{$vo.id}">{$vo.title}</option>
                  {/volist}
                </select>
              </div>
            </li>
            <li>
              <div class="search_font Fleft">按疾病</div>
              <div class="search_put bors Fleft">
                <!-- <input class="search_in" name="input" type="text" value="输入疾病"/> -->
                <select class="rc_select did" name="did">
                  <option value="">选择疾病</option>
                  {volist name="diseases" id="vo" empty=""}
                  <option value="{$vo.id}">{$vo.title}</option>
                  {/volist}
                </select>
              </div>
            </li>
          </ul>
          <div class="searchs_btn">
              <input type="button" class="btn" value="搜索" />
          </div>
        </div>
        
        <script>
          $('.prescription .btn').click(function(){
            var kw = $('.prescription .search_in').val();
            var aid = $('.prescription .aid').val();
            var nid = $('.prescription .nid').val();
            var did = $('.prescription .did').val();
          //   console.log(aid);return false;
            if(!kw){
              alert('输入关键词');
              return false;
            }
            $(".prescription").submit();
          })
        </script>
        </form>

      <!--药品库-->
      <form class="drug" method="get" action="{:url('home/search/index')}">
        <input type="hidden" name="name" value="drug" />
        <div class="search_con" id="con_one_8" style="display:none;">
          <ul>
            <li>
              <div class="search_font Fleft">关键词</div>
              <div class="search_put bors Fleft">
                <input type="text" name="kw" class="search_in" placeholder="输入关键词"/>
              </div>
            </li>
            <li>
              <div class="search_font Fleft">按分类</div>
              <div class="search_put bors Fleft">
                <select class="rc_select cid" name="cid">
                  <option value="">选择分类</option>
                  {volist name="drugCateList" id="vo" empty=""}
                    <option value="{$vo.id}">{$vo.title}</option>
                  {/volist}
                </select>
              </div>
            </li>
            <li>
              <div class="search_font Fleft">按民族</div>
              <div class="search_put bors Fleft">
                <select class="rc_select nid" name="nid">
                  <option value="">选择民族</option>
                  {volist name="nations" id="vo" empty=""}
                  <option value="{$vo.id}">{$vo.title}</option>
                  {/volist}
                </select>
              </div>
            </li>
            <li>
              <div class="search_font Fleft">按疾病</div>
              <div class="search_put bors Fleft">
                <!-- <input class="search_in" name="input" type="text" value="输入疾病"/> -->
                <select class="rc_select did" name="did">
                  <option value="">选择疾病</option>
                  {volist name="diseases" id="vo" empty=""}
                  <option value="{$vo.id}">{$vo.title}</option>
                  {/volist}
                </select>
              </div>
            </li>
          </ul>
          <div class="searchs_btn">
              <input type="button" class="btn" value="搜索" />
          </div>
        </div>
        
        <script>
          $('.drug .btn').click(function(){
            var kw = $('.drug .search_in').val();
            var cid = $('.drug .cid').val();
            var nid = $('.drug .nid').val();
            var did = $('.drug .did').val();
          //   console.log(cid);return false;
            if(!kw){
              alert('输入关键词');
              return false;
            }
            $(".drug").submit();
          })
        </script>
        </form>

      <!--推广示范点-->
      <form class="demonstration" method="get" action="{:url('home/search/index')}">
        <input type="hidden" name="name" value="demonstration" />
        <div class="search_con" id="con_one_9" style="display:none;">
          <ul>
            <li>
              <div class="search_font Fleft">关键词</div>
              <div class="search_put bors Fleft">
                <input type="text" name="kw" class="search_in" placeholder="输入关键词"/>
              </div>
            </li>
            <li>
              <div class="search_font Fleft">按地区</div>
              <div class="search_put bors Fleft">
                <select class="rc_select aid" name="aid">
                  <option value="">选择地区</option>
                  {volist name="areas" id="vo" empty=""}
                    <option value="{$vo.area_id}">{$vo.area_name}</option>
                  {/volist}
                </select>
              </div>
            </li>
          </ul>
          <div class="searchs_btn">
              <input type="button" class="btn" value="搜索" />
          </div>
        </div>
        
        <script>
          $('.demonstration .btn').click(function(){
            var kw = $('.demonstration .search_in').val();
            var aid = $('.demonstration .aid').val();
            var nid = $('.demonstration .nid').val();
            var did = $('.demonstration .did').val();
          //   console.log(aid);return false;
            if(!kw){
              alert('输入关键词');
              return false;
            }
            $(".demonstration").submit();
          })
        </script>
        </form>
    </div>
</div>

{/block}

{block name="footer"}

{include file="common/footer"}

{/block}

{block name="script"}
{include file="common/script"}
<!--更多--> 
<script>
</script> 
{/block}